Reaction wheels are devices in spacecraft that help control their movements in space. They work by spinning in one direction, which causes the spacecraft to spin in the opposite direction. This spinning motion allows the spacecraft to change its orientation and make adjustments so it can move and stay in the right direction.